﻿///////////////////////////////////////////////////////////////////////////////
//
// This file is part of the BassDrop project
//   https://code.google.com/p/bass-drop/
//
//
// Creator:	Gergely Krajcsovszki (krajcsovszkig@hotmail.com)
// Date:	2013-08-05 13:45
//
//
// Copyright © 2013-2014. Gergely Krajcsovszki
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//   http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace BassDrop.Plugins.Dropbox.Localization
{
	/// <summary>
	/// Class containing the strings used in the program
	/// </summary>
	public static partial class PluginStrings
	{
		/// <summary>
		/// Loads the strings for the descriptions
		/// </summary>
		/// <param name="strings">the xml node containing the localized strings</param>
		private static void LoadDescriptionStrings( XElement strings )
		{
			SetProperty( strings, "DescriptionPluginShort", "Use Dropbox as a cloud storage for BassDrop" );
			SetProperty( strings, "DescriptionPluginLong",
				  "The BassDrop Dropbox plugin lets you use Dropbox to store your media library, "
				+ "playlists, settings and optionally your media files in your own Dropbox account."
				+ "\r\n\r\n"
				+ "You will need to associate your Dropbox account with this computer. We will not "
				+ "receive your Dropbox login information, only an access token to your account, which "
				+ "will be stored encrypted locally on your computer. We will only be able to access one "
				+ "folder in your Dropbox account designated for us." );
			SetProperty( strings, "DescriptionConnectAccount", "Displays a dialog that lets you connect BassDrop to your Dropbox account" );
			SetProperty( strings, "DescriptionRemoveApplicationFromDropbox", "To remove the application from your Dropbox account as well, go to your account settings and remove it from the list of linked apps." );
		}

		/// <summary>
		/// Short description for the Dropbox plugin
		/// </summary>
		public static string DescriptionPluginShort
		{
			get;
			private set;
		}

		/// <summary>
		/// Long description for the Dropbox plugin
		/// </summary>
		public static string DescriptionPluginLong
		{
			get;
			private set;
		}

		/// <summary>
		/// Tooltip description for connecting to Dropbox account
		/// </summary>
		public static string DescriptionConnectAccount
		{
			get;
			private set;
		}

		/// <summary>
		/// Description for removing the application from the user's Dropbox account
		/// </summary>
		public static string DescriptionRemoveApplicationFromDropbox
		{
			get;
			private set;
		}
	}
}
